/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */
#include "GameObject.h"

#include "SceneObject.h"

namespace PQClient
{
	GameObject::GameObject(SceneObject* sceneObject,GameObjectType type) : _sceneObject(sceneObject)
	{
		
		_sceneNode=_sceneObject->createChildSceneNode();
		//TransformComponent *component=new TransformComponent();
		//component->attach(this);
		
		//_sceneObject->getRootGameObject()->addChild(this);//default all other object is a child of root
		//_list.insert(GameObject::MapList::value_type(_sceneNode,this));

	}

}
